package clids.ex2.actions;

import java.io.File;

public class ActionWrite extends AbstractAction{ // chack yes/no

	public void doAction (String filePath){
		File f = new File(filePath);
		if (actionParam.equals("YES")) {
			f.setWritable(true) ;
		}
		else if (actionParam.equals("NO")){
			f.setWritable(false);
		}
	}

}
